Public Class frmCalendar

    Private Sub Calendar1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar2.Click
        Me.Close()
    End Sub

    Private Sub frmCalendar_FormClosed(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
        Try
            GC.Collect()
            Me.Dispose()
        Catch ex As Exception

        End Try
    End Sub
End Class